<%@ page import="com.pojo.system.PSWD"%>
<%
	String username =(String) session.getAttribute("username");
	String  name = "";
	PSWD   pswd  = (PSWD)session.getAttribute("PSWD");
	if(pswd != null){
		name = pswd.getName();
	}
	if(username == null ){
		out.print("<script >window.parent.location.href='/Sunlike/login.jsp'</script>");
	}
	
	
	String extjs  = application.getInitParameter("extjs");
	String extadapter = application.getInitParameter("extadapter");
	String extcss = application.getInitParameter("extcss");
	String root   = application.getInitParameter("root");
	String commoncss    = application.getInitParameter("commoncss");
	
%>
<link rel="stylesheet" href="<%= extcss %>"    type="text/css"></link>
<link rel="stylesheet" href="<%= commoncss %>" type="text/css"></link>
<script type="text/javascript" src="<%= extadapter %>"></script>
<script type="text/javascript" src="<%= extjs %>"></script>
